package com.mall.common.bean;

import javax.xml.bind.annotation.XmlRootElement;

import com.mall.common.domain.content.ArticleCategoryDomain;

@XmlRootElement
public class ArticleCategoryBean {
	private Long id;
	private String name; // 分类名称
	private String code; // 分类编码
	private String mark; // 路径标识
	private String url;//路径

	public ArticleCategoryBean() {
	}
	
	public ArticleCategoryBean(ArticleCategoryDomain ac) {
		this.id = ac.getId();
		this.name = ac.getName();
		this.code = ac.getCode();
		this.mark = ac.getMark();
		this.url = ac.getUrl();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}
